package com.zheng.mybatisplus.service.impl;

import com.zheng.mybatisplus.pojo.User;
import com.zheng.mybatisplus.mapper.UserMapper;
import com.zheng.mybatisplus.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * <p>
 * User表 服务实现类
 * </p>
 *
 * @author Zheng
 * @since 2021-09-18
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User selectByMyself() {
        return userMapper.selectByMyself();
    }
}
